(0) Obligation:

Clauses:

der(d(e(t)), const(1)).
der(d(e(const(A))), const(0)).
der(d(e(+(X, Y))), +(DX, DY)) :- ','(der(d(e(X)), DX), der(d(e(Y)), DY)).
der(d(e(*(X, Y))), +(*(X, DY), *(Y, DX))) :- ','(der(d(e(X)), DX), der(d(e(Y)), DY)).
der(d(d(X)), DDX) :- ','(der(d(X), DX), der(d(e(DX)), DDX)).

Query: der(g,a)

(1) PrologToDTProblemTransformerProof (SOUND transformation)

Built DT problem from termination graph DT10.

(2) Obligation:

Triples:

pB(X1, X2, X3, X4, X5, X6) :- derA(d(e(X1)), X2).
pB(X1, X2, X3, X4, X5, X6) :- ','(dercA(d(e(X1)), X2), derA(d(e(X3)), X4)).
pB(X1, X2, X3, X4, X5, X6) :- ','(dercA(d(e(X1)), X2), ','(dercA(d(e(X3)), X4), derA(d(e(X5)), X6))).
pC(e(t), const(1), X1) :- derA(d(e(const(1))), X1).
pC(e(const(X1)), const(0), X2) :- derA(d(e(const(0))), X2).
pC(e(+(X1, X2)), +(X3, X4), X5) :- derA(d(e(X1)), X3).
pC(e(+(X1, X2)), +(X3, X4), X5) :- ','(dercA(d(e(X1)), X3), derA(d(e(X2)), X4)).
pC(e(+(X1, X2)), +(X3, X4), X5) :- ','(dercA(d(e(X1)), X3), ','(dercA(d(e(X2)), X4), derA(d(e(+(X3, X4))), X5))).
pC(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) :- derA(d(e(X1)), X4).
pC(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) :- ','(dercA(d(e(X1)), X4), derA(d(e(X2)), X3)).
pC(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) :- ','(dercA(d(e(X1)), X4), ','(dercA(d(e(X2)), X3), derA(d(e(+(*(X1, X3), *(X2, X4)))), X5))).
pC(d(X1), X2, X3) :- derA(d(X1), X4).
pC(d(X1), X2, X3) :- ','(dercA(d(X1), X4), pC(e(X4), X2, X3)).
derA(d(e(+(t, X1))), +(const(1), X2)) :- derA(d(e(X1)), X2).
derA(d(e(+(const(X1), X2))), +(const(0), X3)) :- derA(d(e(X2)), X3).
derA(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) :- pB(X1, X4, X2, X5, X3, X6).
derA(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) :- pB(X1, X5, X2, X4, X3, X6).
derA(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) :- derA(d(e(X1)), X2).
derA(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) :- derA(d(e(X2)), X3).
derA(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) :- pB(X1, X5, X2, X6, X3, X4).
derA(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) :- pB(X1, X6, X2, X5, X3, X4).
derA(d(d(X1)), X2) :- pC(X1, X3, X2).

Clauses:

dercA(d(e(t)), const(1)).
dercA(d(e(const(X1))), const(0)).
dercA(d(e(+(t, X1))), +(const(1), X2)) :- dercA(d(e(X1)), X2).
dercA(d(e(+(const(X1), X2))), +(const(0), X3)) :- dercA(d(e(X2)), X3).
dercA(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) :- qcB(X1, X4, X2, X5, X3, X6).
dercA(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) :- qcB(X1, X5, X2, X4, X3, X6).
dercA(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) :- dercA(d(e(X1)), X2).
dercA(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) :- dercA(d(e(X2)), X3).
dercA(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) :- qcB(X1, X5, X2, X6, X3, X4).
dercA(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) :- qcB(X1, X6, X2, X5, X3, X4).
dercA(d(d(X1)), X2) :- qcC(X1, X3, X2).
qcB(X1, X2, X3, X4, X5, X6) :- ','(dercA(d(e(X1)), X2), ','(dercA(d(e(X3)), X4), dercA(d(e(X5)), X6))).
qcC(e(t), const(1), X1) :- dercA(d(e(const(1))), X1).
qcC(e(const(X1)), const(0), X2) :- dercA(d(e(const(0))), X2).
qcC(e(+(X1, X2)), +(X3, X4), X5) :- ','(dercA(d(e(X1)), X3), ','(dercA(d(e(X2)), X4), dercA(d(e(+(X3, X4))), X5))).
qcC(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) :- ','(dercA(d(e(X1)), X4), ','(dercA(d(e(X2)), X3), dercA(d(e(+(*(X1, X3), *(X2, X4)))), X5))).
qcC(d(X1), X2, X3) :- ','(dercA(d(X1), X4), qcC(e(X4), X2, X3)).

Afs:

derA(x1, x2)  =  derA(x1)

(3) TriplesToPiDPProof (SOUND transformation)

We use the technique of [DT09]. With regard to the inferred argument filtering the predicates were used in the following modes:
derA_in: (b,f)
pB_in: (b,f,b,f,b,f)
dercA_in: (b,f)
qcB_in: (b,f,b,f,b,f)
qcC_in: (b,f,f)
pC_in: (b,f,f)
Transforming TRIPLES into the following Term Rewriting System:
Pi DP problem:
The TRS P consists of the following rules:

DERA_IN_GA(d(e(+(t, X1))), +(const(1), X2)) → U21_GA(X1, X2, derA_in_ga(d(e(X1)), X2))
DERA_IN_GA(d(e(+(t, X1))), +(const(1), X2)) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(+(const(X1), X2))), +(const(0), X3)) → U22_GA(X1, X2, X3, derA_in_ga(d(e(X2)), X3))
DERA_IN_GA(d(e(+(const(X1), X2))), +(const(0), X3)) → DERA_IN_GA(d(e(X2)), X3)
DERA_IN_GA(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → U23_GA(X1, X2, X3, X4, X5, X6, pB_in_gagaga(X1, X4, X2, X5, X3, X6))
DERA_IN_GA(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → PB_IN_GAGAGA(X1, X4, X2, X5, X3, X6)
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → U1_GAGAGA(X1, X2, X3, X4, X5, X6, derA_in_ga(d(e(X1)), X2))
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → U24_GA(X1, X2, X3, X4, X5, X6, pB_in_gagaga(X1, X5, X2, X4, X3, X6))
DERA_IN_GA(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → PB_IN_GAGAGA(X1, X5, X2, X4, X3, X6)
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X1)), X2))
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U3_GAGAGA(X1, X2, X3, X4, X5, X6, derA_in_ga(d(e(X3)), X4))
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → DERA_IN_GA(d(e(X3)), X4)
DERA_IN_GA(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → U25_GA(X1, X2, derA_in_ga(d(e(X1)), X2))
DERA_IN_GA(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → U26_GA(X1, X2, X3, derA_in_ga(d(e(X2)), X3))
DERA_IN_GA(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → DERA_IN_GA(d(e(X2)), X3)
DERA_IN_GA(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → U27_GA(X1, X2, X3, X4, X5, X6, pB_in_gagaga(X1, X5, X2, X6, X3, X4))
DERA_IN_GA(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → PB_IN_GAGAGA(X1, X5, X2, X6, X3, X4)
DERA_IN_GA(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → U28_GA(X1, X2, X3, X4, X5, X6, pB_in_gagaga(X1, X6, X2, X5, X3, X4))
DERA_IN_GA(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → PB_IN_GAGAGA(X1, X6, X2, X5, X3, X4)
DERA_IN_GA(d(d(X1)), X2) → U29_GA(X1, X2, pC_in_gaa(X1, X3, X2))
DERA_IN_GA(d(d(X1)), X2) → PC_IN_GAA(X1, X3, X2)
PC_IN_GAA(e(t), const(1), X1) → U6_GAA(X1, derA_in_ga(d(e(const(1))), X1))
PC_IN_GAA(e(t), const(1), X1) → DERA_IN_GA(d(e(const(1))), X1)
PC_IN_GAA(e(const(X1)), const(0), X2) → U7_GAA(X1, X2, derA_in_ga(d(e(const(0))), X2))
PC_IN_GAA(e(const(X1)), const(0), X2) → DERA_IN_GA(d(e(const(0))), X2)
PC_IN_GAA(e(+(X1, X2)), +(X3, X4), X5) → U8_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(X1)), X3))
PC_IN_GAA(e(+(X1, X2)), +(X3, X4), X5) → DERA_IN_GA(d(e(X1)), X3)
PC_IN_GAA(e(+(X1, X2)), +(X3, X4), X5) → U9_GAA(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X3))
U9_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → U10_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(X2)), X4))
U9_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → DERA_IN_GA(d(e(X2)), X4)
U9_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → U11_GAA(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X4))
U11_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X4)) → U12_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(+(X3, X4))), X5))
U11_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X4)) → DERA_IN_GA(d(e(+(X3, X4))), X5)
PC_IN_GAA(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → U13_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(X1)), X4))
PC_IN_GAA(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → DERA_IN_GA(d(e(X1)), X4)
PC_IN_GAA(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → U14_GAA(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X4))
U14_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → U15_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(X2)), X3))
U14_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → DERA_IN_GA(d(e(X2)), X3)
U14_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → U16_GAA(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X3))
U16_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X3)) → U17_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5))
U16_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X3)) → DERA_IN_GA(d(e(+(*(X1, X3), *(X2, X4)))), X5)
PC_IN_GAA(d(X1), X2, X3) → U18_GAA(X1, X2, X3, derA_in_ga(d(X1), X4))
PC_IN_GAA(d(X1), X2, X3) → DERA_IN_GA(d(X1), X4)
PC_IN_GAA(d(X1), X2, X3) → U19_GAA(X1, X2, X3, dercA_in_ga(d(X1), X4))
U19_GAA(X1, X2, X3, dercA_out_ga(d(X1), X4)) → U20_GAA(X1, X2, X3, pC_in_gaa(e(X4), X2, X3))
U19_GAA(X1, X2, X3, dercA_out_ga(d(X1), X4)) → PC_IN_GAA(e(X4), X2, X3)
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X3)), X4))
U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → U5_GAGAGA(X1, X2, X3, X4, X5, X6, derA_in_ga(d(e(X5)), X6))
U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → DERA_IN_GA(d(e(X5)), X6)

The TRS R consists of the following rules:

dercA_in_ga(d(e(t)), const(1)) → dercA_out_ga(d(e(t)), const(1))
dercA_in_ga(d(e(const(X1))), const(0)) → dercA_out_ga(d(e(const(X1))), const(0))
dercA_in_ga(d(e(+(t, X1))), +(const(1), X2)) → U31_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(+(const(X1), X2))), +(const(0), X3)) → U32_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → U33_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X4, X2, X5, X3, X6))
qcB_in_gagaga(X1, X2, X3, X4, X5, X6) → U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → U34_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X4, X3, X6))
U34_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X4, X3, X6)) → dercA_out_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6))
dercA_in_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → U35_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → U36_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → U37_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X6, X3, X4))
U37_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X6, X3, X4)) → dercA_out_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6))))
dercA_in_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → U38_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X6, X2, X5, X3, X4))
U38_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X6, X2, X5, X3, X4)) → dercA_out_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6)))))
dercA_in_ga(d(d(X1)), X2) → U39_ga(X1, X2, qcC_in_gaa(X1, X3, X2))
qcC_in_gaa(e(t), const(1), X1) → U43_gaa(X1, dercA_in_ga(d(e(const(1))), X1))
U43_gaa(X1, dercA_out_ga(d(e(const(1))), X1)) → qcC_out_gaa(e(t), const(1), X1)
qcC_in_gaa(e(const(X1)), const(0), X2) → U44_gaa(X1, X2, dercA_in_ga(d(e(const(0))), X2))
U44_gaa(X1, X2, dercA_out_ga(d(e(const(0))), X2)) → qcC_out_gaa(e(const(X1)), const(0), X2)
qcC_in_gaa(e(+(X1, X2)), +(X3, X4), X5) → U45_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X3))
U45_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → U46_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X4))
U46_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X4)) → U47_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(+(X3, X4))), X5))
U47_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(+(X3, X4))), X5)) → qcC_out_gaa(e(+(X1, X2)), +(X3, X4), X5)
qcC_in_gaa(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → U48_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X4))
U48_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → U49_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X3))
U49_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X3)) → U50_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5))
U50_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5)) → qcC_out_gaa(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5)
qcC_in_gaa(d(X1), X2, X3) → U51_gaa(X1, X2, X3, dercA_in_ga(d(X1), X4))
U51_gaa(X1, X2, X3, dercA_out_ga(d(X1), X4)) → U52_gaa(X1, X2, X3, qcC_in_gaa(e(X4), X2, X3))
U52_gaa(X1, X2, X3, qcC_out_gaa(e(X4), X2, X3)) → qcC_out_gaa(d(X1), X2, X3)
U39_ga(X1, X2, qcC_out_gaa(X1, X3, X2)) → dercA_out_ga(d(d(X1)), X2)
U36_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0))))
U35_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1))))
U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X3)), X4))
U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X5)), X6))
U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X5)), X6)) → qcB_out_gagaga(X1, X2, X3, X4, X5, X6)
U33_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X4, X2, X5, X3, X6)) → dercA_out_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6))
U32_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(+(const(X1), X2))), +(const(0), X3))
U31_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(+(t, X1))), +(const(1), X2))

The argument filtering Pi contains the following mapping:
derA_in_ga(x1, x2)  =  derA_in_ga(x1)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
+(x1, x2)  =  +(x1, x2)
t  =  t
const(x1)  =  const(x1)
pB_in_gagaga(x1, x2, x3, x4, x5, x6)  =  pB_in_gagaga(x1, x3, x5)
*(x1, x2)  =  *(x1, x2)
dercA_in_ga(x1, x2)  =  dercA_in_ga(x1)
dercA_out_ga(x1, x2)  =  dercA_out_ga(x1, x2)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3, x4)  =  U32_ga(x1, x2, x4)
U33_ga(x1, x2, x3, x4, x5, x6, x7)  =  U33_ga(x1, x2, x3, x7)
qcB_in_gagaga(x1, x2, x3, x4, x5, x6)  =  qcB_in_gagaga(x1, x3, x5)
U40_gagaga(x1, x2, x3, x4, x5, x6, x7)  =  U40_gagaga(x1, x3, x5, x7)
U34_ga(x1, x2, x3, x4, x5, x6, x7)  =  U34_ga(x1, x2, x3, x7)
qcB_out_gagaga(x1, x2, x3, x4, x5, x6)  =  qcB_out_gagaga(x1, x2, x3, x4, x5, x6)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
U36_ga(x1, x2, x3, x4)  =  U36_ga(x1, x2, x4)
U37_ga(x1, x2, x3, x4, x5, x6, x7)  =  U37_ga(x1, x2, x3, x7)
U38_ga(x1, x2, x3, x4, x5, x6, x7)  =  U38_ga(x1, x2, x3, x7)
U39_ga(x1, x2, x3)  =  U39_ga(x1, x3)
qcC_in_gaa(x1, x2, x3)  =  qcC_in_gaa(x1)
U43_gaa(x1, x2)  =  U43_gaa(x2)
1  =  1
qcC_out_gaa(x1, x2, x3)  =  qcC_out_gaa(x1, x2, x3)
U44_gaa(x1, x2, x3)  =  U44_gaa(x1, x3)
0  =  0
U45_gaa(x1, x2, x3, x4, x5, x6)  =  U45_gaa(x1, x2, x6)
U46_gaa(x1, x2, x3, x4, x5, x6)  =  U46_gaa(x1, x2, x3, x6)
U47_gaa(x1, x2, x3, x4, x5, x6)  =  U47_gaa(x1, x2, x3, x4, x6)
U48_gaa(x1, x2, x3, x4, x5, x6)  =  U48_gaa(x1, x2, x6)
U49_gaa(x1, x2, x3, x4, x5, x6)  =  U49_gaa(x1, x2, x4, x6)
U50_gaa(x1, x2, x3, x4, x5, x6)  =  U50_gaa(x1, x2, x3, x4, x6)
U51_gaa(x1, x2, x3, x4)  =  U51_gaa(x1, x4)
U52_gaa(x1, x2, x3, x4)  =  U52_gaa(x1, x4)
U41_gagaga(x1, x2, x3, x4, x5, x6, x7)  =  U41_gagaga(x1, x2, x3, x5, x7)
U42_gagaga(x1, x2, x3, x4, x5, x6, x7)  =  U42_gagaga(x1, x2, x3, x4, x5, x7)
pC_in_gaa(x1, x2, x3)  =  pC_in_gaa(x1)
DERA_IN_GA(x1, x2)  =  DERA_IN_GA(x1)
U21_GA(x1, x2, x3)  =  U21_GA(x1, x3)
U22_GA(x1, x2, x3, x4)  =  U22_GA(x1, x2, x4)
U23_GA(x1, x2, x3, x4, x5, x6, x7)  =  U23_GA(x1, x2, x3, x7)
PB_IN_GAGAGA(x1, x2, x3, x4, x5, x6)  =  PB_IN_GAGAGA(x1, x3, x5)
U1_GAGAGA(x1, x2, x3, x4, x5, x6, x7)  =  U1_GAGAGA(x1, x3, x5, x7)
U24_GA(x1, x2, x3, x4, x5, x6, x7)  =  U24_GA(x1, x2, x3, x7)
U2_GAGAGA(x1, x2, x3, x4, x5, x6, x7)  =  U2_GAGAGA(x1, x3, x5, x7)
U3_GAGAGA(x1, x2, x3, x4, x5, x6, x7)  =  U3_GAGAGA(x1, x3, x5, x7)
U25_GA(x1, x2, x3)  =  U25_GA(x1, x3)
U26_GA(x1, x2, x3, x4)  =  U26_GA(x1, x2, x4)
U27_GA(x1, x2, x3, x4, x5, x6, x7)  =  U27_GA(x1, x2, x3, x7)
U28_GA(x1, x2, x3, x4, x5, x6, x7)  =  U28_GA(x1, x2, x3, x7)
U29_GA(x1, x2, x3)  =  U29_GA(x1, x3)
PC_IN_GAA(x1, x2, x3)  =  PC_IN_GAA(x1)
U6_GAA(x1, x2)  =  U6_GAA(x2)
U7_GAA(x1, x2, x3)  =  U7_GAA(x1, x3)
U8_GAA(x1, x2, x3, x4, x5, x6)  =  U8_GAA(x1, x2, x6)
U9_GAA(x1, x2, x3, x4, x5, x6)  =  U9_GAA(x1, x2, x6)
U10_GAA(x1, x2, x3, x4, x5, x6)  =  U10_GAA(x1, x2, x6)
U11_GAA(x1, x2, x3, x4, x5, x6)  =  U11_GAA(x1, x2, x3, x6)
U12_GAA(x1, x2, x3, x4, x5, x6)  =  U12_GAA(x1, x2, x6)
U13_GAA(x1, x2, x3, x4, x5, x6)  =  U13_GAA(x1, x2, x6)
U14_GAA(x1, x2, x3, x4, x5, x6)  =  U14_GAA(x1, x2, x6)
U15_GAA(x1, x2, x3, x4, x5, x6)  =  U15_GAA(x1, x2, x6)
U16_GAA(x1, x2, x3, x4, x5, x6)  =  U16_GAA(x1, x2, x4, x6)
U17_GAA(x1, x2, x3, x4, x5, x6)  =  U17_GAA(x1, x2, x6)
U18_GAA(x1, x2, x3, x4)  =  U18_GAA(x1, x4)
U19_GAA(x1, x2, x3, x4)  =  U19_GAA(x1, x4)
U20_GAA(x1, x2, x3, x4)  =  U20_GAA(x1, x4)
U4_GAGAGA(x1, x2, x3, x4, x5, x6, x7)  =  U4_GAGAGA(x1, x3, x5, x7)
U5_GAGAGA(x1, x2, x3, x4, x5, x6, x7)  =  U5_GAGAGA(x1, x3, x5, x7)

We have to consider all (P,R,Pi)-chains

Infinitary Constructor Rewriting Termination of PiDP implies Termination of TRIPLES

(4) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

DERA_IN_GA(d(e(+(t, X1))), +(const(1), X2)) → U21_GA(X1, X2, derA_in_ga(d(e(X1)), X2))
DERA_IN_GA(d(e(+(t, X1))), +(const(1), X2)) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(+(const(X1), X2))), +(const(0), X3)) → U22_GA(X1, X2, X3, derA_in_ga(d(e(X2)), X3))
DERA_IN_GA(d(e(+(const(X1), X2))), +(const(0), X3)) → DERA_IN_GA(d(e(X2)), X3)
DERA_IN_GA(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → U23_GA(X1, X2, X3, X4, X5, X6, pB_in_gagaga(X1, X4, X2, X5, X3, X6))
DERA_IN_GA(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → PB_IN_GAGAGA(X1, X4, X2, X5, X3, X6)
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → U1_GAGAGA(X1, X2, X3, X4, X5, X6, derA_in_ga(d(e(X1)), X2))
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → U24_GA(X1, X2, X3, X4, X5, X6, pB_in_gagaga(X1, X5, X2, X4, X3, X6))
DERA_IN_GA(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → PB_IN_GAGAGA(X1, X5, X2, X4, X3, X6)
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X1)), X2))
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U3_GAGAGA(X1, X2, X3, X4, X5, X6, derA_in_ga(d(e(X3)), X4))
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → DERA_IN_GA(d(e(X3)), X4)
DERA_IN_GA(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → U25_GA(X1, X2, derA_in_ga(d(e(X1)), X2))
DERA_IN_GA(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → U26_GA(X1, X2, X3, derA_in_ga(d(e(X2)), X3))
DERA_IN_GA(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → DERA_IN_GA(d(e(X2)), X3)
DERA_IN_GA(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → U27_GA(X1, X2, X3, X4, X5, X6, pB_in_gagaga(X1, X5, X2, X6, X3, X4))
DERA_IN_GA(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → PB_IN_GAGAGA(X1, X5, X2, X6, X3, X4)
DERA_IN_GA(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → U28_GA(X1, X2, X3, X4, X5, X6, pB_in_gagaga(X1, X6, X2, X5, X3, X4))
DERA_IN_GA(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → PB_IN_GAGAGA(X1, X6, X2, X5, X3, X4)
DERA_IN_GA(d(d(X1)), X2) → U29_GA(X1, X2, pC_in_gaa(X1, X3, X2))
DERA_IN_GA(d(d(X1)), X2) → PC_IN_GAA(X1, X3, X2)
PC_IN_GAA(e(t), const(1), X1) → U6_GAA(X1, derA_in_ga(d(e(const(1))), X1))
PC_IN_GAA(e(t), const(1), X1) → DERA_IN_GA(d(e(const(1))), X1)
PC_IN_GAA(e(const(X1)), const(0), X2) → U7_GAA(X1, X2, derA_in_ga(d(e(const(0))), X2))
PC_IN_GAA(e(const(X1)), const(0), X2) → DERA_IN_GA(d(e(const(0))), X2)
PC_IN_GAA(e(+(X1, X2)), +(X3, X4), X5) → U8_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(X1)), X3))
PC_IN_GAA(e(+(X1, X2)), +(X3, X4), X5) → DERA_IN_GA(d(e(X1)), X3)
PC_IN_GAA(e(+(X1, X2)), +(X3, X4), X5) → U9_GAA(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X3))
U9_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → U10_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(X2)), X4))
U9_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → DERA_IN_GA(d(e(X2)), X4)
U9_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → U11_GAA(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X4))
U11_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X4)) → U12_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(+(X3, X4))), X5))
U11_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X4)) → DERA_IN_GA(d(e(+(X3, X4))), X5)
PC_IN_GAA(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → U13_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(X1)), X4))
PC_IN_GAA(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → DERA_IN_GA(d(e(X1)), X4)
PC_IN_GAA(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → U14_GAA(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X4))
U14_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → U15_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(X2)), X3))
U14_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → DERA_IN_GA(d(e(X2)), X3)
U14_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → U16_GAA(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X3))
U16_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X3)) → U17_GAA(X1, X2, X3, X4, X5, derA_in_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5))
U16_GAA(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X3)) → DERA_IN_GA(d(e(+(*(X1, X3), *(X2, X4)))), X5)
PC_IN_GAA(d(X1), X2, X3) → U18_GAA(X1, X2, X3, derA_in_ga(d(X1), X4))
PC_IN_GAA(d(X1), X2, X3) → DERA_IN_GA(d(X1), X4)
PC_IN_GAA(d(X1), X2, X3) → U19_GAA(X1, X2, X3, dercA_in_ga(d(X1), X4))
U19_GAA(X1, X2, X3, dercA_out_ga(d(X1), X4)) → U20_GAA(X1, X2, X3, pC_in_gaa(e(X4), X2, X3))
U19_GAA(X1, X2, X3, dercA_out_ga(d(X1), X4)) → PC_IN_GAA(e(X4), X2, X3)
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X3)), X4))
U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → U5_GAGAGA(X1, X2, X3, X4, X5, X6, derA_in_ga(d(e(X5)), X6))
U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → DERA_IN_GA(d(e(X5)), X6)

The TRS R consists of the following rules:

dercA_in_ga(d(e(t)), const(1)) → dercA_out_ga(d(e(t)), const(1))
dercA_in_ga(d(e(const(X1))), const(0)) → dercA_out_ga(d(e(const(X1))), const(0))
dercA_in_ga(d(e(+(t, X1))), +(const(1), X2)) → U31_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(+(const(X1), X2))), +(const(0), X3)) → U32_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → U33_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X4, X2, X5, X3, X6))
qcB_in_gagaga(X1, X2, X3, X4, X5, X6) → U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → U34_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X4, X3, X6))
U34_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X4, X3, X6)) → dercA_out_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6))
dercA_in_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → U35_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → U36_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → U37_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X6, X3, X4))
U37_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X6, X3, X4)) → dercA_out_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6))))
dercA_in_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → U38_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X6, X2, X5, X3, X4))
U38_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X6, X2, X5, X3, X4)) → dercA_out_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6)))))
dercA_in_ga(d(d(X1)), X2) → U39_ga(X1, X2, qcC_in_gaa(X1, X3, X2))
qcC_in_gaa(e(t), const(1), X1) → U43_gaa(X1, dercA_in_ga(d(e(const(1))), X1))
U43_gaa(X1, dercA_out_ga(d(e(const(1))), X1)) → qcC_out_gaa(e(t), const(1), X1)
qcC_in_gaa(e(const(X1)), const(0), X2) → U44_gaa(X1, X2, dercA_in_ga(d(e(const(0))), X2))
U44_gaa(X1, X2, dercA_out_ga(d(e(const(0))), X2)) → qcC_out_gaa(e(const(X1)), const(0), X2)
qcC_in_gaa(e(+(X1, X2)), +(X3, X4), X5) → U45_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X3))
U45_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → U46_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X4))
U46_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X4)) → U47_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(+(X3, X4))), X5))
U47_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(+(X3, X4))), X5)) → qcC_out_gaa(e(+(X1, X2)), +(X3, X4), X5)
qcC_in_gaa(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → U48_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X4))
U48_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → U49_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X3))
U49_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X3)) → U50_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5))
U50_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5)) → qcC_out_gaa(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5)
qcC_in_gaa(d(X1), X2, X3) → U51_gaa(X1, X2, X3, dercA_in_ga(d(X1), X4))
U51_gaa(X1, X2, X3, dercA_out_ga(d(X1), X4)) → U52_gaa(X1, X2, X3, qcC_in_gaa(e(X4), X2, X3))
U52_gaa(X1, X2, X3, qcC_out_gaa(e(X4), X2, X3)) → qcC_out_gaa(d(X1), X2, X3)
U39_ga(X1, X2, qcC_out_gaa(X1, X3, X2)) → dercA_out_ga(d(d(X1)), X2)
U36_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0))))
U35_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1))))
U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X3)), X4))
U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X5)), X6))
U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X5)), X6)) → qcB_out_gagaga(X1, X2, X3, X4, X5, X6)
U33_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X4, X2, X5, X3, X6)) → dercA_out_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6))
U32_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(+(const(X1), X2))), +(const(0), X3))
U31_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(+(t, X1))), +(const(1), X2))

The argument filtering Pi contains the following mapping:
derA_in_ga(x1, x2)  =  derA_in_ga(x1)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
+(x1, x2)  =  +(x1, x2)
t  =  t
const(x1)  =  const(x1)
pB_in_gagaga(x1, x2, x3, x4, x5, x6)  =  pB_in_gagaga(x1, x3, x5)
*(x1, x2)  =  *(x1, x2)
dercA_in_ga(x1, x2)  =  dercA_in_ga(x1)
dercA_out_ga(x1, x2)  =  dercA_out_ga(x1, x2)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3, x4)  =  U32_ga(x1, x2, x4)
U33_ga(x1, x2, x3, x4, x5, x6, x7)  =  U33_ga(x1, x2, x3, x7)
qcB_in_gagaga(x1, x2, x3, x4, x5, x6)  =  qcB_in_gagaga(x1, x3, x5)
U40_gagaga(x1, x2, x3, x4, x5, x6, x7)  =  U40_gagaga(x1, x3, x5, x7)
U34_ga(x1, x2, x3, x4, x5, x6, x7)  =  U34_ga(x1, x2, x3, x7)
qcB_out_gagaga(x1, x2, x3, x4, x5, x6)  =  qcB_out_gagaga(x1, x2, x3, x4, x5, x6)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
U36_ga(x1, x2, x3, x4)  =  U36_ga(x1, x2, x4)
U37_ga(x1, x2, x3, x4, x5, x6, x7)  =  U37_ga(x1, x2, x3, x7)
U38_ga(x1, x2, x3, x4, x5, x6, x7)  =  U38_ga(x1, x2, x3, x7)
U39_ga(x1, x2, x3)  =  U39_ga(x1, x3)
qcC_in_gaa(x1, x2, x3)  =  qcC_in_gaa(x1)
U43_gaa(x1, x2)  =  U43_gaa(x2)
1  =  1
qcC_out_gaa(x1, x2, x3)  =  qcC_out_gaa(x1, x2, x3)
U44_gaa(x1, x2, x3)  =  U44_gaa(x1, x3)
0  =  0
U45_gaa(x1, x2, x3, x4, x5, x6)  =  U45_gaa(x1, x2, x6)
U46_gaa(x1, x2, x3, x4, x5, x6)  =  U46_gaa(x1, x2, x3, x6)
U47_gaa(x1, x2, x3, x4, x5, x6)  =  U47_gaa(x1, x2, x3, x4, x6)
U48_gaa(x1, x2, x3, x4, x5, x6)  =  U48_gaa(x1, x2, x6)
U49_gaa(x1, x2, x3, x4, x5, x6)  =  U49_gaa(x1, x2, x4, x6)
U50_gaa(x1, x2, x3, x4, x5, x6)  =  U50_gaa(x1, x2, x3, x4, x6)
U51_gaa(x1, x2, x3, x4)  =  U51_gaa(x1, x4)
U52_gaa(x1, x2, x3, x4)  =  U52_gaa(x1, x4)
U41_gagaga(x1, x2, x3, x4, x5, x6, x7)  =  U41_gagaga(x1, x2, x3, x5, x7)
U42_gagaga(x1, x2, x3, x4, x5, x6, x7)  =  U42_gagaga(x1, x2, x3, x4, x5, x7)
pC_in_gaa(x1, x2, x3)  =  pC_in_gaa(x1)
DERA_IN_GA(x1, x2)  =  DERA_IN_GA(x1)
U21_GA(x1, x2, x3)  =  U21_GA(x1, x3)
U22_GA(x1, x2, x3, x4)  =  U22_GA(x1, x2, x4)
U23_GA(x1, x2, x3, x4, x5, x6, x7)  =  U23_GA(x1, x2, x3, x7)
PB_IN_GAGAGA(x1, x2, x3, x4, x5, x6)  =  PB_IN_GAGAGA(x1, x3, x5)
U1_GAGAGA(x1, x2, x3, x4, x5, x6, x7)  =  U1_GAGAGA(x1, x3, x5, x7)
U24_GA(x1, x2, x3, x4, x5, x6, x7)  =  U24_GA(x1, x2, x3, x7)
U2_GAGAGA(x1, x2, x3, x4, x5, x6, x7)  =  U2_GAGAGA(x1, x3, x5, x7)
U3_GAGAGA(x1, x2, x3, x4, x5, x6, x7)  =  U3_GAGAGA(x1, x3, x5, x7)
U25_GA(x1, x2, x3)  =  U25_GA(x1, x3)
U26_GA(x1, x2, x3, x4)  =  U26_GA(x1, x2, x4)
U27_GA(x1, x2, x3, x4, x5, x6, x7)  =  U27_GA(x1, x2, x3, x7)
U28_GA(x1, x2, x3, x4, x5, x6, x7)  =  U28_GA(x1, x2, x3, x7)
U29_GA(x1, x2, x3)  =  U29_GA(x1, x3)
PC_IN_GAA(x1, x2, x3)  =  PC_IN_GAA(x1)
U6_GAA(x1, x2)  =  U6_GAA(x2)
U7_GAA(x1, x2, x3)  =  U7_GAA(x1, x3)
U8_GAA(x1, x2, x3, x4, x5, x6)  =  U8_GAA(x1, x2, x6)
U9_GAA(x1, x2, x3, x4, x5, x6)  =  U9_GAA(x1, x2, x6)
U10_GAA(x1, x2, x3, x4, x5, x6)  =  U10_GAA(x1, x2, x6)
U11_GAA(x1, x2, x3, x4, x5, x6)  =  U11_GAA(x1, x2, x3, x6)
U12_GAA(x1, x2, x3, x4, x5, x6)  =  U12_GAA(x1, x2, x6)
U13_GAA(x1, x2, x3, x4, x5, x6)  =  U13_GAA(x1, x2, x6)
U14_GAA(x1, x2, x3, x4, x5, x6)  =  U14_GAA(x1, x2, x6)
U15_GAA(x1, x2, x3, x4, x5, x6)  =  U15_GAA(x1, x2, x6)
U16_GAA(x1, x2, x3, x4, x5, x6)  =  U16_GAA(x1, x2, x4, x6)
U17_GAA(x1, x2, x3, x4, x5, x6)  =  U17_GAA(x1, x2, x6)
U18_GAA(x1, x2, x3, x4)  =  U18_GAA(x1, x4)
U19_GAA(x1, x2, x3, x4)  =  U19_GAA(x1, x4)
U20_GAA(x1, x2, x3, x4)  =  U20_GAA(x1, x4)
U4_GAGAGA(x1, x2, x3, x4, x5, x6, x7)  =  U4_GAGAGA(x1, x3, x5, x7)
U5_GAGAGA(x1, x2, x3, x4, x5, x6, x7)  =  U5_GAGAGA(x1, x3, x5, x7)

We have to consider all (P,R,Pi)-chains

(5) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 2 SCCs with 36 less nodes.

(6) Complex Obligation (AND)

(7) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

DERA_IN_GA(d(e(+(const(X1), X2))), +(const(0), X3)) → DERA_IN_GA(d(e(X2)), X3)
DERA_IN_GA(d(e(+(t, X1))), +(const(1), X2)) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → PB_IN_GAGAGA(X1, X4, X2, X5, X3, X6)
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → PB_IN_GAGAGA(X1, X5, X2, X4, X3, X6)
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X1)), X2))
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → DERA_IN_GA(d(e(X3)), X4)
DERA_IN_GA(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → DERA_IN_GA(d(e(X2)), X3)
DERA_IN_GA(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → PB_IN_GAGAGA(X1, X5, X2, X6, X3, X4)
DERA_IN_GA(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → PB_IN_GAGAGA(X1, X6, X2, X5, X3, X4)
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X3)), X4))
U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → DERA_IN_GA(d(e(X5)), X6)

The TRS R consists of the following rules:

dercA_in_ga(d(e(t)), const(1)) → dercA_out_ga(d(e(t)), const(1))
dercA_in_ga(d(e(const(X1))), const(0)) → dercA_out_ga(d(e(const(X1))), const(0))
dercA_in_ga(d(e(+(t, X1))), +(const(1), X2)) → U31_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(+(const(X1), X2))), +(const(0), X3)) → U32_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → U33_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X4, X2, X5, X3, X6))
qcB_in_gagaga(X1, X2, X3, X4, X5, X6) → U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → U34_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X4, X3, X6))
U34_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X4, X3, X6)) → dercA_out_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6))
dercA_in_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → U35_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → U36_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → U37_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X6, X3, X4))
U37_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X6, X3, X4)) → dercA_out_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6))))
dercA_in_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → U38_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X6, X2, X5, X3, X4))
U38_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X6, X2, X5, X3, X4)) → dercA_out_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6)))))
dercA_in_ga(d(d(X1)), X2) → U39_ga(X1, X2, qcC_in_gaa(X1, X3, X2))
qcC_in_gaa(e(t), const(1), X1) → U43_gaa(X1, dercA_in_ga(d(e(const(1))), X1))
U43_gaa(X1, dercA_out_ga(d(e(const(1))), X1)) → qcC_out_gaa(e(t), const(1), X1)
qcC_in_gaa(e(const(X1)), const(0), X2) → U44_gaa(X1, X2, dercA_in_ga(d(e(const(0))), X2))
U44_gaa(X1, X2, dercA_out_ga(d(e(const(0))), X2)) → qcC_out_gaa(e(const(X1)), const(0), X2)
qcC_in_gaa(e(+(X1, X2)), +(X3, X4), X5) → U45_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X3))
U45_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → U46_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X4))
U46_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X4)) → U47_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(+(X3, X4))), X5))
U47_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(+(X3, X4))), X5)) → qcC_out_gaa(e(+(X1, X2)), +(X3, X4), X5)
qcC_in_gaa(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → U48_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X4))
U48_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → U49_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X3))
U49_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X3)) → U50_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5))
U50_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5)) → qcC_out_gaa(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5)
qcC_in_gaa(d(X1), X2, X3) → U51_gaa(X1, X2, X3, dercA_in_ga(d(X1), X4))
U51_gaa(X1, X2, X3, dercA_out_ga(d(X1), X4)) → U52_gaa(X1, X2, X3, qcC_in_gaa(e(X4), X2, X3))
U52_gaa(X1, X2, X3, qcC_out_gaa(e(X4), X2, X3)) → qcC_out_gaa(d(X1), X2, X3)
U39_ga(X1, X2, qcC_out_gaa(X1, X3, X2)) → dercA_out_ga(d(d(X1)), X2)
U36_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0))))
U35_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1))))
U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X3)), X4))
U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X5)), X6))
U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X5)), X6)) → qcB_out_gagaga(X1, X2, X3, X4, X5, X6)
U33_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X4, X2, X5, X3, X6)) → dercA_out_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6))
U32_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(+(const(X1), X2))), +(const(0), X3))
U31_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(+(t, X1))), +(const(1), X2))

The argument filtering Pi contains the following mapping:
d(x1)  =  d(x1)
e(x1)  =  e(x1)
+(x1, x2)  =  +(x1, x2)
t  =  t
const(x1)  =  const(x1)
*(x1, x2)  =  *(x1, x2)
dercA_in_ga(x1, x2)  =  dercA_in_ga(x1)
dercA_out_ga(x1, x2)  =  dercA_out_ga(x1, x2)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3, x4)  =  U32_ga(x1, x2, x4)
U33_ga(x1, x2, x3, x4, x5, x6, x7)  =  U33_ga(x1, x2, x3, x7)
qcB_in_gagaga(x1, x2, x3, x4, x5, x6)  =  qcB_in_gagaga(x1, x3, x5)
U40_gagaga(x1, x2, x3, x4, x5, x6, x7)  =  U40_gagaga(x1, x3, x5, x7)
U34_ga(x1, x2, x3, x4, x5, x6, x7)  =  U34_ga(x1, x2, x3, x7)
qcB_out_gagaga(x1, x2, x3, x4, x5, x6)  =  qcB_out_gagaga(x1, x2, x3, x4, x5, x6)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
U36_ga(x1, x2, x3, x4)  =  U36_ga(x1, x2, x4)
U37_ga(x1, x2, x3, x4, x5, x6, x7)  =  U37_ga(x1, x2, x3, x7)
U38_ga(x1, x2, x3, x4, x5, x6, x7)  =  U38_ga(x1, x2, x3, x7)
U39_ga(x1, x2, x3)  =  U39_ga(x1, x3)
qcC_in_gaa(x1, x2, x3)  =  qcC_in_gaa(x1)
U43_gaa(x1, x2)  =  U43_gaa(x2)
1  =  1
qcC_out_gaa(x1, x2, x3)  =  qcC_out_gaa(x1, x2, x3)
U44_gaa(x1, x2, x3)  =  U44_gaa(x1, x3)
0  =  0
U45_gaa(x1, x2, x3, x4, x5, x6)  =  U45_gaa(x1, x2, x6)
U46_gaa(x1, x2, x3, x4, x5, x6)  =  U46_gaa(x1, x2, x3, x6)
U47_gaa(x1, x2, x3, x4, x5, x6)  =  U47_gaa(x1, x2, x3, x4, x6)
U48_gaa(x1, x2, x3, x4, x5, x6)  =  U48_gaa(x1, x2, x6)
U49_gaa(x1, x2, x3, x4, x5, x6)  =  U49_gaa(x1, x2, x4, x6)
U50_gaa(x1, x2, x3, x4, x5, x6)  =  U50_gaa(x1, x2, x3, x4, x6)
U51_gaa(x1, x2, x3, x4)  =  U51_gaa(x1, x4)
U52_gaa(x1, x2, x3, x4)  =  U52_gaa(x1, x4)
U41_gagaga(x1, x2, x3, x4, x5, x6, x7)  =  U41_gagaga(x1, x2, x3, x5, x7)
U42_gagaga(x1, x2, x3, x4, x5, x6, x7)  =  U42_gagaga(x1, x2, x3, x4, x5, x7)
DERA_IN_GA(x1, x2)  =  DERA_IN_GA(x1)
PB_IN_GAGAGA(x1, x2, x3, x4, x5, x6)  =  PB_IN_GAGAGA(x1, x3, x5)
U2_GAGAGA(x1, x2, x3, x4, x5, x6, x7)  =  U2_GAGAGA(x1, x3, x5, x7)
U4_GAGAGA(x1, x2, x3, x4, x5, x6, x7)  =  U4_GAGAGA(x1, x3, x5, x7)

We have to consider all (P,R,Pi)-chains

(8) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(9) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

DERA_IN_GA(d(e(+(const(X1), X2))), +(const(0), X3)) → DERA_IN_GA(d(e(X2)), X3)
DERA_IN_GA(d(e(+(t, X1))), +(const(1), X2)) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → PB_IN_GAGAGA(X1, X4, X2, X5, X3, X6)
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → PB_IN_GAGAGA(X1, X5, X2, X4, X3, X6)
PB_IN_GAGAGA(X1, X2, X3, X4, X5, X6) → U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X1)), X2))
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → DERA_IN_GA(d(e(X3)), X4)
DERA_IN_GA(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → DERA_IN_GA(d(e(X1)), X2)
DERA_IN_GA(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → DERA_IN_GA(d(e(X2)), X3)
DERA_IN_GA(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → PB_IN_GAGAGA(X1, X5, X2, X6, X3, X4)
DERA_IN_GA(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → PB_IN_GAGAGA(X1, X6, X2, X5, X3, X4)
U2_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X3)), X4))
U4_GAGAGA(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → DERA_IN_GA(d(e(X5)), X6)

The TRS R consists of the following rules:

dercA_in_ga(d(e(t)), const(1)) → dercA_out_ga(d(e(t)), const(1))
dercA_in_ga(d(e(const(X1))), const(0)) → dercA_out_ga(d(e(const(X1))), const(0))
dercA_in_ga(d(e(+(t, X1))), +(const(1), X2)) → U31_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(+(const(X1), X2))), +(const(0), X3)) → U32_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → U33_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X4, X2, X5, X3, X6))
dercA_in_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → U34_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X4, X3, X6))
dercA_in_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → U35_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → U36_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → U37_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X6, X3, X4))
dercA_in_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → U38_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X6, X2, X5, X3, X4))
U31_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(+(t, X1))), +(const(1), X2))
U32_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(+(const(X1), X2))), +(const(0), X3))
U33_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X4, X2, X5, X3, X6)) → dercA_out_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6))
U34_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X4, X3, X6)) → dercA_out_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6))
U35_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1))))
U36_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0))))
U37_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X6, X3, X4)) → dercA_out_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6))))
U38_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X6, X2, X5, X3, X4)) → dercA_out_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6)))))
qcB_in_gagaga(X1, X2, X3, X4, X5, X6) → U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X1)), X2))
U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X3)), X4))
U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X5)), X6))
U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X5)), X6)) → qcB_out_gagaga(X1, X2, X3, X4, X5, X6)

The argument filtering Pi contains the following mapping:
d(x1)  =  d(x1)
e(x1)  =  e(x1)
+(x1, x2)  =  +(x1, x2)
t  =  t
const(x1)  =  const(x1)
*(x1, x2)  =  *(x1, x2)
dercA_in_ga(x1, x2)  =  dercA_in_ga(x1)
dercA_out_ga(x1, x2)  =  dercA_out_ga(x1, x2)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3, x4)  =  U32_ga(x1, x2, x4)
U33_ga(x1, x2, x3, x4, x5, x6, x7)  =  U33_ga(x1, x2, x3, x7)
qcB_in_gagaga(x1, x2, x3, x4, x5, x6)  =  qcB_in_gagaga(x1, x3, x5)
U40_gagaga(x1, x2, x3, x4, x5, x6, x7)  =  U40_gagaga(x1, x3, x5, x7)
U34_ga(x1, x2, x3, x4, x5, x6, x7)  =  U34_ga(x1, x2, x3, x7)
qcB_out_gagaga(x1, x2, x3, x4, x5, x6)  =  qcB_out_gagaga(x1, x2, x3, x4, x5, x6)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
U36_ga(x1, x2, x3, x4)  =  U36_ga(x1, x2, x4)
U37_ga(x1, x2, x3, x4, x5, x6, x7)  =  U37_ga(x1, x2, x3, x7)
U38_ga(x1, x2, x3, x4, x5, x6, x7)  =  U38_ga(x1, x2, x3, x7)
1  =  1
0  =  0
U41_gagaga(x1, x2, x3, x4, x5, x6, x7)  =  U41_gagaga(x1, x2, x3, x5, x7)
U42_gagaga(x1, x2, x3, x4, x5, x6, x7)  =  U42_gagaga(x1, x2, x3, x4, x5, x7)
DERA_IN_GA(x1, x2)  =  DERA_IN_GA(x1)
PB_IN_GAGAGA(x1, x2, x3, x4, x5, x6)  =  PB_IN_GAGAGA(x1, x3, x5)
U2_GAGAGA(x1, x2, x3, x4, x5, x6, x7)  =  U2_GAGAGA(x1, x3, x5, x7)
U4_GAGAGA(x1, x2, x3, x4, x5, x6, x7)  =  U4_GAGAGA(x1, x3, x5, x7)

We have to consider all (P,R,Pi)-chains

(10) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(11) Obligation:

Q DP problem:
The TRS P consists of the following rules:

DERA_IN_GA(d(e(+(const(X1), X2)))) → DERA_IN_GA(d(e(X2)))
DERA_IN_GA(d(e(+(t, X1)))) → DERA_IN_GA(d(e(X1)))
DERA_IN_GA(d(e(+(+(X1, X2), X3)))) → PB_IN_GAGAGA(X1, X2, X3)
PB_IN_GAGAGA(X1, X3, X5) → DERA_IN_GA(d(e(X1)))
DERA_IN_GA(d(e(+(*(X1, X2), X3)))) → PB_IN_GAGAGA(X1, X2, X3)
PB_IN_GAGAGA(X1, X3, X5) → U2_GAGAGA(X1, X3, X5, dercA_in_ga(d(e(X1))))
U2_GAGAGA(X1, X3, X5, dercA_out_ga(d(e(X1)), X2)) → DERA_IN_GA(d(e(X3)))
DERA_IN_GA(d(e(*(t, X1)))) → DERA_IN_GA(d(e(X1)))
DERA_IN_GA(d(e(*(const(X1), X2)))) → DERA_IN_GA(d(e(X2)))
DERA_IN_GA(d(e(*(+(X1, X2), X3)))) → PB_IN_GAGAGA(X1, X2, X3)
DERA_IN_GA(d(e(*(*(X1, X2), X3)))) → PB_IN_GAGAGA(X1, X2, X3)
U2_GAGAGA(X1, X3, X5, dercA_out_ga(d(e(X1)), X2)) → U4_GAGAGA(X1, X3, X5, dercA_in_ga(d(e(X3))))
U4_GAGAGA(X1, X3, X5, dercA_out_ga(d(e(X3)), X4)) → DERA_IN_GA(d(e(X5)))

The TRS R consists of the following rules:

dercA_in_ga(d(e(t))) → dercA_out_ga(d(e(t)), const(1))
dercA_in_ga(d(e(const(X1)))) → dercA_out_ga(d(e(const(X1))), const(0))
dercA_in_ga(d(e(+(t, X1)))) → U31_ga(X1, dercA_in_ga(d(e(X1))))
dercA_in_ga(d(e(+(const(X1), X2)))) → U32_ga(X1, X2, dercA_in_ga(d(e(X2))))
dercA_in_ga(d(e(+(+(X1, X2), X3)))) → U33_ga(X1, X2, X3, qcB_in_gagaga(X1, X2, X3))
dercA_in_ga(d(e(+(*(X1, X2), X3)))) → U34_ga(X1, X2, X3, qcB_in_gagaga(X1, X2, X3))
dercA_in_ga(d(e(*(t, X1)))) → U35_ga(X1, dercA_in_ga(d(e(X1))))
dercA_in_ga(d(e(*(const(X1), X2)))) → U36_ga(X1, X2, dercA_in_ga(d(e(X2))))
dercA_in_ga(d(e(*(+(X1, X2), X3)))) → U37_ga(X1, X2, X3, qcB_in_gagaga(X1, X2, X3))
dercA_in_ga(d(e(*(*(X1, X2), X3)))) → U38_ga(X1, X2, X3, qcB_in_gagaga(X1, X2, X3))
U31_ga(X1, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(+(t, X1))), +(const(1), X2))
U32_ga(X1, X2, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(+(const(X1), X2))), +(const(0), X3))
U33_ga(X1, X2, X3, qcB_out_gagaga(X1, X4, X2, X5, X3, X6)) → dercA_out_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6))
U34_ga(X1, X2, X3, qcB_out_gagaga(X1, X5, X2, X4, X3, X6)) → dercA_out_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6))
U35_ga(X1, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1))))
U36_ga(X1, X2, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0))))
U37_ga(X1, X2, X3, qcB_out_gagaga(X1, X5, X2, X6, X3, X4)) → dercA_out_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6))))
U38_ga(X1, X2, X3, qcB_out_gagaga(X1, X6, X2, X5, X3, X4)) → dercA_out_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6)))))
qcB_in_gagaga(X1, X3, X5) → U40_gagaga(X1, X3, X5, dercA_in_ga(d(e(X1))))
U40_gagaga(X1, X3, X5, dercA_out_ga(d(e(X1)), X2)) → U41_gagaga(X1, X2, X3, X5, dercA_in_ga(d(e(X3))))
U41_gagaga(X1, X2, X3, X5, dercA_out_ga(d(e(X3)), X4)) → U42_gagaga(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X5))))
U42_gagaga(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X5)), X6)) → qcB_out_gagaga(X1, X2, X3, X4, X5, X6)

The set Q consists of the following terms:

dercA_in_ga(x0)
U31_ga(x0, x1)
U32_ga(x0, x1, x2)
U33_ga(x0, x1, x2, x3)
U34_ga(x0, x1, x2, x3)
U35_ga(x0, x1)
U36_ga(x0, x1, x2)
U37_ga(x0, x1, x2, x3)
U38_ga(x0, x1, x2, x3)
qcB_in_gagaga(x0, x1, x2)
U40_gagaga(x0, x1, x2, x3)
U41_gagaga(x0, x1, x2, x3, x4)
U42_gagaga(x0, x1, x2, x3, x4, x5)

We have to consider all (P,Q,R)-chains.

(12) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04,JAR06].


The following pairs can be oriented strictly and are deleted.


DERA_IN_GA(d(e(+(const(X1), X2)))) → DERA_IN_GA(d(e(X2)))
DERA_IN_GA(d(e(+(t, X1)))) → DERA_IN_GA(d(e(X1)))
DERA_IN_GA(d(e(+(+(X1, X2), X3)))) → PB_IN_GAGAGA(X1, X2, X3)
PB_IN_GAGAGA(X1, X3, X5) → DERA_IN_GA(d(e(X1)))
DERA_IN_GA(d(e(+(*(X1, X2), X3)))) → PB_IN_GAGAGA(X1, X2, X3)
U2_GAGAGA(X1, X3, X5, dercA_out_ga(d(e(X1)), X2)) → DERA_IN_GA(d(e(X3)))
DERA_IN_GA(d(e(*(t, X1)))) → DERA_IN_GA(d(e(X1)))
DERA_IN_GA(d(e(*(const(X1), X2)))) → DERA_IN_GA(d(e(X2)))
DERA_IN_GA(d(e(*(+(X1, X2), X3)))) → PB_IN_GAGAGA(X1, X2, X3)
DERA_IN_GA(d(e(*(*(X1, X2), X3)))) → PB_IN_GAGAGA(X1, X2, X3)
U4_GAGAGA(X1, X3, X5, dercA_out_ga(d(e(X3)), X4)) → DERA_IN_GA(d(e(X5)))
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial interpretation [POLO]:

POL(*(x1, x2)) = 1 + x1 + x2   
POL(+(x1, x2)) = 1 + x1 + x2   
POL(0) = 0   
POL(1) = 0   
POL(DERA_IN_GA(x1)) = x1   
POL(PB_IN_GAGAGA(x1, x2, x3)) = 1 + x1 + x2 + x3   
POL(U2_GAGAGA(x1, x2, x3, x4)) = 1 + x2 + x3   
POL(U31_ga(x1, x2)) = 0   
POL(U32_ga(x1, x2, x3)) = 0   
POL(U33_ga(x1, x2, x3, x4)) = 0   
POL(U34_ga(x1, x2, x3, x4)) = 0   
POL(U35_ga(x1, x2)) = 0   
POL(U36_ga(x1, x2, x3)) = 0   
POL(U37_ga(x1, x2, x3, x4)) = 0   
POL(U38_ga(x1, x2, x3, x4)) = 0   
POL(U40_gagaga(x1, x2, x3, x4)) = 0   
POL(U41_gagaga(x1, x2, x3, x4, x5)) = 0   
POL(U42_gagaga(x1, x2, x3, x4, x5, x6)) = 0   
POL(U4_GAGAGA(x1, x2, x3, x4)) = 1 + x3   
POL(const(x1)) = 0   
POL(d(x1)) = x1   
POL(dercA_in_ga(x1)) = 0   
POL(dercA_out_ga(x1, x2)) = 0   
POL(e(x1)) = x1   
POL(qcB_in_gagaga(x1, x2, x3)) = 0   
POL(qcB_out_gagaga(x1, x2, x3, x4, x5, x6)) = 0   
POL(t) = 1   

The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:
none

(13) Obligation:

Q DP problem:
The TRS P consists of the following rules:

PB_IN_GAGAGA(X1, X3, X5) → U2_GAGAGA(X1, X3, X5, dercA_in_ga(d(e(X1))))
U2_GAGAGA(X1, X3, X5, dercA_out_ga(d(e(X1)), X2)) → U4_GAGAGA(X1, X3, X5, dercA_in_ga(d(e(X3))))

The TRS R consists of the following rules:

dercA_in_ga(d(e(t))) → dercA_out_ga(d(e(t)), const(1))
dercA_in_ga(d(e(const(X1)))) → dercA_out_ga(d(e(const(X1))), const(0))
dercA_in_ga(d(e(+(t, X1)))) → U31_ga(X1, dercA_in_ga(d(e(X1))))
dercA_in_ga(d(e(+(const(X1), X2)))) → U32_ga(X1, X2, dercA_in_ga(d(e(X2))))
dercA_in_ga(d(e(+(+(X1, X2), X3)))) → U33_ga(X1, X2, X3, qcB_in_gagaga(X1, X2, X3))
dercA_in_ga(d(e(+(*(X1, X2), X3)))) → U34_ga(X1, X2, X3, qcB_in_gagaga(X1, X2, X3))
dercA_in_ga(d(e(*(t, X1)))) → U35_ga(X1, dercA_in_ga(d(e(X1))))
dercA_in_ga(d(e(*(const(X1), X2)))) → U36_ga(X1, X2, dercA_in_ga(d(e(X2))))
dercA_in_ga(d(e(*(+(X1, X2), X3)))) → U37_ga(X1, X2, X3, qcB_in_gagaga(X1, X2, X3))
dercA_in_ga(d(e(*(*(X1, X2), X3)))) → U38_ga(X1, X2, X3, qcB_in_gagaga(X1, X2, X3))
U31_ga(X1, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(+(t, X1))), +(const(1), X2))
U32_ga(X1, X2, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(+(const(X1), X2))), +(const(0), X3))
U33_ga(X1, X2, X3, qcB_out_gagaga(X1, X4, X2, X5, X3, X6)) → dercA_out_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6))
U34_ga(X1, X2, X3, qcB_out_gagaga(X1, X5, X2, X4, X3, X6)) → dercA_out_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6))
U35_ga(X1, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1))))
U36_ga(X1, X2, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0))))
U37_ga(X1, X2, X3, qcB_out_gagaga(X1, X5, X2, X6, X3, X4)) → dercA_out_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6))))
U38_ga(X1, X2, X3, qcB_out_gagaga(X1, X6, X2, X5, X3, X4)) → dercA_out_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6)))))
qcB_in_gagaga(X1, X3, X5) → U40_gagaga(X1, X3, X5, dercA_in_ga(d(e(X1))))
U40_gagaga(X1, X3, X5, dercA_out_ga(d(e(X1)), X2)) → U41_gagaga(X1, X2, X3, X5, dercA_in_ga(d(e(X3))))
U41_gagaga(X1, X2, X3, X5, dercA_out_ga(d(e(X3)), X4)) → U42_gagaga(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X5))))
U42_gagaga(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X5)), X6)) → qcB_out_gagaga(X1, X2, X3, X4, X5, X6)

The set Q consists of the following terms:

dercA_in_ga(x0)
U31_ga(x0, x1)
U32_ga(x0, x1, x2)
U33_ga(x0, x1, x2, x3)
U34_ga(x0, x1, x2, x3)
U35_ga(x0, x1)
U36_ga(x0, x1, x2)
U37_ga(x0, x1, x2, x3)
U38_ga(x0, x1, x2, x3)
qcB_in_gagaga(x0, x1, x2)
U40_gagaga(x0, x1, x2, x3)
U41_gagaga(x0, x1, x2, x3, x4)
U42_gagaga(x0, x1, x2, x3, x4, x5)

We have to consider all (P,Q,R)-chains.

(14) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 0 SCCs with 2 less nodes.

(15) TRUE

(16) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

PC_IN_GAA(d(X1), X2, X3) → DERA_IN_GA(d(X1), X4)
DERA_IN_GA(d(d(X1)), X2) → PC_IN_GAA(X1, X3, X2)

The TRS R consists of the following rules:

dercA_in_ga(d(e(t)), const(1)) → dercA_out_ga(d(e(t)), const(1))
dercA_in_ga(d(e(const(X1))), const(0)) → dercA_out_ga(d(e(const(X1))), const(0))
dercA_in_ga(d(e(+(t, X1))), +(const(1), X2)) → U31_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(+(const(X1), X2))), +(const(0), X3)) → U32_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6)) → U33_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X4, X2, X5, X3, X6))
qcB_in_gagaga(X1, X2, X3, X4, X5, X6) → U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6)) → U34_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X4, X3, X6))
U34_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X4, X3, X6)) → dercA_out_ga(d(e(+(*(X1, X2), X3))), +(+(*(X1, X4), *(X2, X5)), X6))
dercA_in_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1)))) → U35_ga(X1, X2, dercA_in_ga(d(e(X1)), X2))
dercA_in_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0)))) → U36_ga(X1, X2, X3, dercA_in_ga(d(e(X2)), X3))
dercA_in_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6)))) → U37_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X5, X2, X6, X3, X4))
U37_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X5, X2, X6, X3, X4)) → dercA_out_ga(d(e(*(+(X1, X2), X3))), +(*(+(X1, X2), X4), *(X3, +(X5, X6))))
dercA_in_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6))))) → U38_ga(X1, X2, X3, X4, X5, X6, qcB_in_gagaga(X1, X6, X2, X5, X3, X4))
U38_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X6, X2, X5, X3, X4)) → dercA_out_ga(d(e(*(*(X1, X2), X3))), +(*(*(X1, X2), X4), *(X3, +(*(X1, X5), *(X2, X6)))))
dercA_in_ga(d(d(X1)), X2) → U39_ga(X1, X2, qcC_in_gaa(X1, X3, X2))
qcC_in_gaa(e(t), const(1), X1) → U43_gaa(X1, dercA_in_ga(d(e(const(1))), X1))
U43_gaa(X1, dercA_out_ga(d(e(const(1))), X1)) → qcC_out_gaa(e(t), const(1), X1)
qcC_in_gaa(e(const(X1)), const(0), X2) → U44_gaa(X1, X2, dercA_in_ga(d(e(const(0))), X2))
U44_gaa(X1, X2, dercA_out_ga(d(e(const(0))), X2)) → qcC_out_gaa(e(const(X1)), const(0), X2)
qcC_in_gaa(e(+(X1, X2)), +(X3, X4), X5) → U45_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X3))
U45_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X3)) → U46_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X4))
U46_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X4)) → U47_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(+(X3, X4))), X5))
U47_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(+(X3, X4))), X5)) → qcC_out_gaa(e(+(X1, X2)), +(X3, X4), X5)
qcC_in_gaa(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5) → U48_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X1)), X4))
U48_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X1)), X4)) → U49_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(X2)), X3))
U49_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(X2)), X3)) → U50_gaa(X1, X2, X3, X4, X5, dercA_in_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5))
U50_gaa(X1, X2, X3, X4, X5, dercA_out_ga(d(e(+(*(X1, X3), *(X2, X4)))), X5)) → qcC_out_gaa(e(*(X1, X2)), +(*(X1, X3), *(X2, X4)), X5)
qcC_in_gaa(d(X1), X2, X3) → U51_gaa(X1, X2, X3, dercA_in_ga(d(X1), X4))
U51_gaa(X1, X2, X3, dercA_out_ga(d(X1), X4)) → U52_gaa(X1, X2, X3, qcC_in_gaa(e(X4), X2, X3))
U52_gaa(X1, X2, X3, qcC_out_gaa(e(X4), X2, X3)) → qcC_out_gaa(d(X1), X2, X3)
U39_ga(X1, X2, qcC_out_gaa(X1, X3, X2)) → dercA_out_ga(d(d(X1)), X2)
U36_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(*(const(X1), X2))), +(*(const(X1), X3), *(X2, const(0))))
U35_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(*(t, X1))), +(*(t, X2), *(X1, const(1))))
U40_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X1)), X2)) → U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X3)), X4))
U41_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X3)), X4)) → U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_in_ga(d(e(X5)), X6))
U42_gagaga(X1, X2, X3, X4, X5, X6, dercA_out_ga(d(e(X5)), X6)) → qcB_out_gagaga(X1, X2, X3, X4, X5, X6)
U33_ga(X1, X2, X3, X4, X5, X6, qcB_out_gagaga(X1, X4, X2, X5, X3, X6)) → dercA_out_ga(d(e(+(+(X1, X2), X3))), +(+(X4, X5), X6))
U32_ga(X1, X2, X3, dercA_out_ga(d(e(X2)), X3)) → dercA_out_ga(d(e(+(const(X1), X2))), +(const(0), X3))
U31_ga(X1, X2, dercA_out_ga(d(e(X1)), X2)) → dercA_out_ga(d(e(+(t, X1))), +(const(1), X2))

The argument filtering Pi contains the following mapping:
d(x1)  =  d(x1)
e(x1)  =  e(x1)
+(x1, x2)  =  +(x1, x2)
t  =  t
const(x1)  =  const(x1)
*(x1, x2)  =  *(x1, x2)
dercA_in_ga(x1, x2)  =  dercA_in_ga(x1)
dercA_out_ga(x1, x2)  =  dercA_out_ga(x1, x2)
U31_ga(x1, x2, x3)  =  U31_ga(x1, x3)
U32_ga(x1, x2, x3, x4)  =  U32_ga(x1, x2, x4)
U33_ga(x1, x2, x3, x4, x5, x6, x7)  =  U33_ga(x1, x2, x3, x7)
qcB_in_gagaga(x1, x2, x3, x4, x5, x6)  =  qcB_in_gagaga(x1, x3, x5)
U40_gagaga(x1, x2, x3, x4, x5, x6, x7)  =  U40_gagaga(x1, x3, x5, x7)
U34_ga(x1, x2, x3, x4, x5, x6, x7)  =  U34_ga(x1, x2, x3, x7)
qcB_out_gagaga(x1, x2, x3, x4, x5, x6)  =  qcB_out_gagaga(x1, x2, x3, x4, x5, x6)
U35_ga(x1, x2, x3)  =  U35_ga(x1, x3)
U36_ga(x1, x2, x3, x4)  =  U36_ga(x1, x2, x4)
U37_ga(x1, x2, x3, x4, x5, x6, x7)  =  U37_ga(x1, x2, x3, x7)
U38_ga(x1, x2, x3, x4, x5, x6, x7)  =  U38_ga(x1, x2, x3, x7)
U39_ga(x1, x2, x3)  =  U39_ga(x1, x3)
qcC_in_gaa(x1, x2, x3)  =  qcC_in_gaa(x1)
U43_gaa(x1, x2)  =  U43_gaa(x2)
1  =  1
qcC_out_gaa(x1, x2, x3)  =  qcC_out_gaa(x1, x2, x3)
U44_gaa(x1, x2, x3)  =  U44_gaa(x1, x3)
0  =  0
U45_gaa(x1, x2, x3, x4, x5, x6)  =  U45_gaa(x1, x2, x6)
U46_gaa(x1, x2, x3, x4, x5, x6)  =  U46_gaa(x1, x2, x3, x6)
U47_gaa(x1, x2, x3, x4, x5, x6)  =  U47_gaa(x1, x2, x3, x4, x6)
U48_gaa(x1, x2, x3, x4, x5, x6)  =  U48_gaa(x1, x2, x6)
U49_gaa(x1, x2, x3, x4, x5, x6)  =  U49_gaa(x1, x2, x4, x6)
U50_gaa(x1, x2, x3, x4, x5, x6)  =  U50_gaa(x1, x2, x3, x4, x6)
U51_gaa(x1, x2, x3, x4)  =  U51_gaa(x1, x4)
U52_gaa(x1, x2, x3, x4)  =  U52_gaa(x1, x4)
U41_gagaga(x1, x2, x3, x4, x5, x6, x7)  =  U41_gagaga(x1, x2, x3, x5, x7)
U42_gagaga(x1, x2, x3, x4, x5, x6, x7)  =  U42_gagaga(x1, x2, x3, x4, x5, x7)
DERA_IN_GA(x1, x2)  =  DERA_IN_GA(x1)
PC_IN_GAA(x1, x2, x3)  =  PC_IN_GAA(x1)

We have to consider all (P,R,Pi)-chains

(17) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(18) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

PC_IN_GAA(d(X1), X2, X3) → DERA_IN_GA(d(X1), X4)
DERA_IN_GA(d(d(X1)), X2) → PC_IN_GAA(X1, X3, X2)

R is empty.
The argument filtering Pi contains the following mapping:
d(x1)  =  d(x1)
DERA_IN_GA(x1, x2)  =  DERA_IN_GA(x1)
PC_IN_GAA(x1, x2, x3)  =  PC_IN_GAA(x1)

We have to consider all (P,R,Pi)-chains

(19) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(20) Obligation:

Q DP problem:
The TRS P consists of the following rules:

PC_IN_GAA(d(X1)) → DERA_IN_GA(d(X1))
DERA_IN_GA(d(d(X1))) → PC_IN_GAA(X1)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(21) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • DERA_IN_GA(d(d(X1))) → PC_IN_GAA(X1)
    The graph contains the following edges 1 > 1

  • PC_IN_GAA(d(X1)) → DERA_IN_GA(d(X1))
    The graph contains the following edges 1 >= 1

(22) YES